#ifndef _WATCH_VIEW_H
#define _WATCH_VIEW_H
#include "Arduino.h"
#include "lvgl/lvgl.h"
// #include "I2C_BM8563.h"


class WatchView
{
public:
    struct
    {
        /**
         * root
         *   -> displayTileview
         *     -> clockTileview
         *       -> clockDiv
         *         -> hourDiv
         *           -> hourLabel
         *         -> minDiv
         *           -> minLabel
         *         -> segLabel
         *         -> Line
         */
        lv_obj_t *root;
        lv_obj_t *img_second;
        lv_obj_t *img_minute;
        lv_obj_t *img_hour;
        lv_obj_t *bg;
        // lv_obj_t *carTimeLabel;

    } ui;

    WatchView();
    ~WatchView();

    void create();
    void load();
    void destroy();

    // void load_srceen(lv_obj_t *src);
    // void sec_img_cb(void *img, int32_t v);
    // void updateTime();

private:
};

#endif 